package com.xyh.student.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;

import com.xyh.student.entity.Library;
import com.xyh.student.entity.Question;
import org.springframework.stereotype.Repository;

@Mapper
public interface LibraryDao {
    public int insertLibrary(Library library);

    public List<Object> findAllLibrary();

    public List<Library> findAll();

    public List<Question> findQuestion();

    public Library findById(int id);

    public int deleteById(int id);

}
